'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	
	 const collection =  await db.collection('userData')
	 const res = await collection.add(event)
		console.log(查看)
	//返回数据给客户端
	return res
};
